<div id="header">
  <div id="navbar">
    <div class="layout fn-clear">
      <ul id="nav" class="ui-nav">
         <li class="nav-item <eq name="list_id" value="">current</eq>" class="nav-item " id="nav-home"><a class="nav-link" target="_self" href="{$siteurl}"><i class="ui-icon home-nav"></i></a></li> 
        <volist name="list_menu" id="ppvod"><eq name="ppvod.list_pid" value="0"><li class="nav-item <eq name="ppvod.list_id" value="$list_id">current</eq><eq name="ppvod.list_id" value="$list_pid">current</eq>" id="nav-{$ppvod.list_dir}"><a class="nav-link" target="_self" href="{$ppvod.list_url}"><i class="ui-icon {$ppvod.list_dir}-nav"></i>{$ppvod.list_name}</a></li></eq></volist> 
        </ul>
      <!-- // nav end -->
      <ul id="sign" class="ui-nav">
        <li class="nav-item drop-down" id="nav-looked"><a rel="nofollow" class="nav-link drop-title" target="_self"><i class="ui-icon looked-nav"></i>播放记录 </a>
          <div class="drop-box">
            <div class="looked-list">
              <p><a rel="nofollow" class="close-his" target="_self" href="javascript:;">关闭</a><a rel="nofollow" href="javascript:;" id="emptybt" data="1" target="_self">清空全部播放记录</a></p>
<ul class="highlight" id="playhistory"></ul>
              <div class="his-todo" id="morelog" style="display:none;"></div>
              <div class="his-todo" id="his-todo"></div>
            </div>
           <script type="text/javascript">PlayHistoryObj.viewPlayHistory('playhistory');</script>
            <!-- // looked-list end -->
          </div>
        </li>
      </ul>
      <!-- // sign end -->
    </div>
  </div>
  <!-- // navbar end -->
  <div id="subnav">
    <div class="layout fn-clear">
      <div class="subnav-tv fn-left"><strong class="tv">电视剧：</strong><php>$array_listid = getlistarr(2);</php><volist name="array_listid" id="ff_listid" offset="0" length='7'><gt name="key" value="0"><em>|</em></gt><a href="{:getlistname($ff_listid,'list_url')}">{:getlistname($ff_listid)}</a></volist></div>
      <div class="subnav-movie fn-right"><strong class="movie">电影：</strong><php>$array_listidd = getlistarr(1);</php><volist name="array_listidd" id="ff_listid" offset="0" length='7'><gt name="key" value="0"><em>|</em></gt><a href="{:getlistname($ff_listid,'list_url')}">{:getlistname($ff_listid)}</a></volist></div>
    </div>
  </div>
  <!-- // subnav end -->
  <div id="headbar">
    <div class="layout fn-clear">
      <div id="logo"><a href="{$siteurl}"><img src="{$root}static/images/logo.png" alt="{$sitename}-最新电影-好看的电视剧排行榜" /></a></div>
      <!-- // logo end -->
<div id="searchbar"><div class="ui-search">
<form id="search" name="search"  method="POST" action="{$siteurl}vod-search" onSubmit="return qrsearch();">
<input type="text" id="wd" name="wd" class="search-input" value="请在此处输入影片片名或演员名称。" onfocus="if(this.value=='请在此处输入影片片名或演员名称。'){this.value='';}" onblur="if(this.value==''){this.value='请在此处输入影片片名或演员名称。';};" />
<input type="submit" id="searchbutton"  class="search-button" value="" /></form>
</div><!-- // search end -->
        <div class="hotkeys"> {$hotkey}</div>
        <!-- // hotkeys end -->
      </div>
      <!-- // searchbar end -->
      <ul id="tbmov-plus">
        <li><a id="new" href="{:ff_mytpl_url('my_new.html')}"><i class="ui-icon new-icon"></i>最近<br />更新</a></li>
        <li><a href="{:ff_mytpl_url('my_top.html')}"><i class="ui-icon top-icon"></i>影片<br />排行</a></li>
        <li><a href="/faq/"><i class="ui-icon help-icon"></i>会员<br />帮助</a></li>
        <li><a href="{$url_guestbook}"><i class="ui-icon gb-icon"></i>留言<br />反馈</a></li>
        <li><a rel="nofollow" target="_self" id="a-clo" href="javascript:void(0);" onclick='fav();'><i class="ui-icon fav-icon"></i>收藏<br />本站</a></li>
      </ul>
      <!-- tbmov-plus end -->
    </div>
    <!-- // layout end -->
  </div>
  <!-- // headbar end -->
</div>
<!-- // header end -->
<script type="text/javascript"> 
	function fav(){
	 URL='{$siteurl}';title='{$sitename}';
	try  { window.external.addFavorite(URL, title);  }catch (e){ try {window.sidebar.addPanel(title, URL, "");}
   catch (e) { alert("加入收藏失败，请使用Ctrl+D进行添加");}}}
</script>
